﻿#foreach($u in $TableInfos)
#beforeall 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Manager.aspx.cs" Inherits="FrameWork.Web.Web.Manager.NormalApp.${u.TabName}Manager.Manager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <%=FrameWork.Forum.PageInfos.GetAdminCss %>
    <%=FrameWork.Forum.PageInfos.GetAdminJs %>
</head>
<body>
    <form id="form1" runat="server">

#each  
    <FrameWorkWebControls:HeadMenuWebControls runat="server" ID="HeadMenuWebControls1">
     <FrameWorkWebControls:HeadMenuButtonItem ButtonName="$u.TabCaption" ButtonPopedom="List" ButtonUrl="Default.aspx"
            ButtonUrlType="Href" ButtonVisible="True" />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls runat="server">
     <FrameWorkWebControls:TabOptionItem  runat="server"  ID="TabOptionItem1"  Tab_Name="$u.TabCaption" >
   
 <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
#foreach($c in $u.ColumnInfos)  
#beforeall
#each 
#if($c.IsPK=="True")
        <tr id="TopTr" runat="server">
			<td class="table_body">$c.DeText</td>
			<td class="table_none">
                <asp:Label ID="lb$c.ColumnName" runat="server"></asp:Label></td>
		</tr>
#else
 #if($c.TypeName=="bit")
         <tr>
		    <td class="table_body">$c.DeText</td>
		    <td class="table_none">
                 <asp:RadioButtonList ID="rbl$c.ColumnName" runat="server" EnableViewState="False" RepeatColumns="2">
					<Items>
						<asp:ListItem Value="1">是</asp:ListItem>
						<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
					</Items>
				</asp:RadioButtonList>
            </td>
		</tr>
#else
        <tr>
		<td class="table_body">$c.DeText</td>
		<td class="table_none">
                <asp:TextBox ID="tb$c.ColumnName" runat="server" Columns="50" title="请输入$c.DeText~$c.Length:!" CssClass="textinput"></asp:TextBox>
                 <asp:Label ID="lb$c.ColumnName" runat="server"></asp:Label>
                </td>
		</tr>
  #end
#end
#afterall
#end 
#end			
		<tr id="trBtn" runat="server"><td colspan="2" align="right">
            <asp:Button ID="btnSave" runat="server" CssClass="buttonbak" Text="确定" OnClick="btnSaveClick" />
            <input id="Reset1" class="buttonbak" type="reset" value="重填" />&nbsp;
		
		</td></tr>
	   </table>
	   </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
    </form>
</body>
</html>
